﻿<Window x:Class="FM.Views.倒计时窗口"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="倒计时"
        AllowsTransparency="True"
        Background="#00000000"
        MouseDoubleClick="Window_MouseDoubleClick"
        MouseDown="Window_MouseDown"
        ShowInTaskbar="False"
        SizeToContent="WidthAndHeight"
        Topmost="True"
        WindowStartupLocation="CenterScreen"
        WindowStyle="None">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <TextBlock Name="textBlock1"
                   Margin="10"
                   FontSize="256"
                   FontWeight="Bold"
                   Foreground="Red"
                   Text="10" />
        <Border Grid.Row="1"
                Background="{Binding Foreground,
                                     ElementName=textBlock1}"
                BorderThickness="1">
            <TextBlock Name="textBlock2"
                       HorizontalAlignment="Center"
                       VerticalAlignment="Center"
                       FontSize="24"
                       FontWeight="Bold"
                       Foreground="White"
                       Text="倒计时标题" />
        </Border>
    </Grid>
</Window>
